﻿using Benefactor.Models.DbModels;
using Bigway.Common.Services.Repositories;
using SqlSugar;

namespace Benefactor.Services.Repositories;

public interface IVoucherRepository : IBaseSqliteEntityRepository<Voucher>
{
    Task<List<string>> GetDistinctIssuedBenefitsCardIdsAsync(
        Func<ISugarQueryable<Voucher>, ISugarQueryable<Voucher>> filter,
        CancellationToken token = default);
}